home *** CD-ROM | disk | FTP | other *** search
- ; Rebind keys.
- ;
- ; When microEmacs is executed it looks for and uses this file to rebind
- ; key definitions and set up macros. See emacs.hlp and emacs.key for the
- ; default bindings. Most of these rebindings are self explanatory, but
- ; you should note the following:
- ;
- ; <sh> f9 will load and open a second window for the second file
- ; name passed on the commandline to the emacs (as is done with error
- ; files in the ana-systems package). If only one filename was passed
- ; then a second window into that file will be opened. In either case,
- ; f1 and f2 can then be used to scroll the two windows without going
- ; to the trouble of changing the active window, f3 will change the
- ; the active window, and f4 will delete windows.
-
-
- bind-to-key previous-page FNa ; unshifted f1
- bind-to-key scroll-next-up FNA ; shifted F1
- bind-to-key next-page FNb ; unshifted f2
- bind-to-key scroll-next-down FNB ; shifted F2
- bind-to-key next-window FNc ; unshifted f3
- bind-to-key next-buffer FNC ; shifted F3
- bind-to-key delete-window FND ; shifted F4
- bind-to-key delete-other-windows FNd ; unshifted f4
-
-
- bind-to-key execute-macro-1 FNI ; shifted F9, open second file
- bind-to-key exit-emacs FNi ; unshifted f9, just exit w/o save
- bind-to-key save-file FNJ ; shifted F10, save current
- bind-to-key quick-exit FNj ; unshifted f10, save all and exit
-
- bind-to-key yank FN- ; unshifted Undo
- bind-to-key backward-character FN& ; left arrow
- bind-to-key beginning-of-file FN$ ; Clr Home
- bind-to-key delete-next-character FN# ; Delete
- bind-to-key end-of-file FN4 ; Shifted Clr Home
- bind-to-key forward-character FN' ; right arrow
- bind-to-key next-line FN( ; down arrow
- bind-to-key next-page FN8 ; shifted down arrow
- bind-to-key end-of-line FN7 ; shifted right arrow
- bind-to-key previous-line FN% ; up arrow
- bind-to-key previous-page FN5 ; shifted up arrow
- bind-to-key beginning-of-line FN6 ; shifted left arrow
- bind-to-key kill-to-end-of-line FN3 ; shifted delete
- bind-to-key set-mark ^P ; ctrl p
- bind-to-key exchange-point-and-mark ^E ; ctrl e
- bind-to-key kill-region ^K ; ctrl k
- bind-to-key copy-region ^C ; ctrl c
- bind-to-key yank ^Y ; ctrl y
-
- 1 store-macro
- 2 split-current-window
- next-buffer
- previous-window
- !endm
-